// markdown-loader.js
const marked = require("marked");

module.exports = function (markdown) {
  // 将Markdown转换为HTML
  const html = marked(markdown);
  // 将HTML字符串导出
  return `module.exports = ${JSON.stringify(html)}`;
};
